package xcmg.device.dao.entity.purchase;

import java.math.BigDecimal;
import java.util.Date;

public class BuyPlanDetailDO {
    private String billId;

    private String materialsNo;

    private String materialsDes;

    private String materialsType;

    private String unit;

    private BigDecimal price;

    private BigDecimal totalPrice;

    private BigDecimal qty;

    private String sourceOrder;

    private String replaceMaterialsNo;

    private String retrofitMaterialsNo;

    private String replaceMaterialsNote;

    /** 采购组*/
    private String purchaseGroup;

    /** 替换零件名称*/
    private String replaceMaterialsDes;

    /** 是否生成采购单*/
    private Integer isGenerate;

    private Integer salesRate;

    private BigDecimal deliverySpend;

    private String remark;

    private String finishState;

    private String supplierName;

    private Date deliveryDate;

    public Integer getSalesRate() {
        return salesRate;
    }

    public void setSalesRate(Integer salesRate) {
        this.salesRate = salesRate;
    }

    public BigDecimal getDeliverySpend() {
        return deliverySpend;
    }

    public void setDeliverySpend(BigDecimal deliverySpend) {
        this.deliverySpend = deliverySpend;
    }

    public Integer getIsGenerate() {
        return isGenerate;
    }

    public void setIsGenerate(Integer isGenerate) {
        this.isGenerate = isGenerate;
    }

    public String getPurchaseGroup() {
        return purchaseGroup;
    }

    public void setPurchaseGroup(String purchaseGroup) {
        this.purchaseGroup = purchaseGroup;
    }

    public String getReplaceMaterialsDes() {
        return replaceMaterialsDes;
    }

    public void setReplaceMaterialsDes(String replaceMaterialsDes) {
        this.replaceMaterialsDes = replaceMaterialsDes;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId == null ? null : billId.trim();
    }

    public String getMaterialsNo() {
        return materialsNo;
    }

    public void setMaterialsNo(String materialsNo) {
        this.materialsNo = materialsNo == null ? null : materialsNo.trim();
    }

    public String getMaterialsDes() {
        return materialsDes;
    }

    public void setMaterialsDes(String materialsDes) {
        this.materialsDes = materialsDes == null ? null : materialsDes.trim();
    }

    public String getMaterialsType() {
        return materialsType;
    }

    public void setMaterialsType(String materialsType) {
        this.materialsType = materialsType == null ? null : materialsType.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public String getSourceOrder() {
        return sourceOrder;
    }

    public void setSourceOrder(String sourceOrder) {
        this.sourceOrder = sourceOrder == null ? null : sourceOrder.trim();
    }

    public String getReplaceMaterialsNo() {
        return replaceMaterialsNo;
    }

    public void setReplaceMaterialsNo(String replaceMaterialsNo) {
        this.replaceMaterialsNo = replaceMaterialsNo;
    }

    public String getRetrofitMaterialsNo() {
        return retrofitMaterialsNo;
    }

    public void setRetrofitMaterialsNo(String retrofitMaterialsNo) {
        this.retrofitMaterialsNo = retrofitMaterialsNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getReplaceMaterialsNote() {
        return replaceMaterialsNote;
    }

    public void setReplaceMaterialsNote(String replaceMaterialsNote) {
        this.replaceMaterialsNote = replaceMaterialsNote;
    }

    public String getFinishState() {
        return finishState;
    }

    public void setFinishState(String finishState) {
        this.finishState = finishState;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }
}
